var ServerConfig = {
    restAddress: '${restAddress}',
    restPort: '${restPort}',
    restContext: '${restContext}',
    webAddress: '${webAddress}',
    webPort: '${webPort}',
    webContext: '${webContext}',

    getRestFullAdress : function(){
        return this.restAddress +  this.restPort + "/" + this.restContext;
    },
    getWebFullAdress : function(){
        return this.webAddress + this.webPort + "/" + this.webContext;
    }
};